package cn.com.hhrcw.utils;

import lombok.EqualsAndHashCode;

import java.io.File;
import java.net.URI;

/**
 * @program: recruit-boot-parent
 * @description:
 * @author: JD
 * @create: 2020-12-05 15:22
 **/
@EqualsAndHashCode
public class DownFile extends File {

    private String fileName;

    public DownFile(String pathname) {
        super(pathname);
    }

    public DownFile(String parent, String child) {
        super(parent, child);
    }

    public DownFile(File parent, String child) {
        super(parent, child);
    }

    public DownFile(URI uri) {
        super(uri);
    }

    @Override
    public String getName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
}
